module.exports = {
  text: {
    type: Object,
    default: function () {
      return {
        content: ['极差', '失望', '一般', '满意', '惊喜']
      }
    },
    name: '数据',
    filedType: 'api'
  },

  bgColor: {
    type: String,
    default: '#fff',
    name: '文本块背景',
    filedType: 'color'
  },

  letterSpacing: {
    type: String,
    default: '1px',
    name: '字间距',
    filedType: 'string'
  },

  fontSize: {
    type: String,
    default: '16px',
    name: '字号',
    filedType: 'string'
  },
  voidcolor: {
    type: String,
    default: '#C6D1DE',
    name: '未选中ICON颜色',
    filedType: 'color'
  },
  showscore: {
    type: Boolean,
    default: true,
    name: '显示当前分数',
    filedType: 'switch'
  },
  scoreTpl: {
    type: String,
    default: '{value}分',
    name: '分数显示模板',
    filedType: 'string'
  },
  showtext: {
    type: Boolean,
    default: false,
    name: '显示辅助文字',
    filedType: 'switch'
  },
  textcolor: {
    type: String,
    default: '#333',
    name: '辅助文字颜色',
    filedType: 'color'
  },

  readOnly: {
    type: Boolean,
    default: false,
    name: '只读',
    filedType: 'switch'
  },
  disabledvoidcolor: {
    type: String,
    default: '#EFF2F7',
    name: '只读时未选中颜色',
    filedType: 'color'
  },
  allowhalf: {
    type: Boolean,
    default: false,
    name: '允许半选',
    filedType: 'switch'
  },

  value: {
    type: String,
    default: '5',
    name: '点击评分',
    filedType: 'value',
    dataSource: {
      from: 'list',
      type: 'array',
      labelKey: 'label',
      valueKey: 'value'
    }
  },
  colors: {
    type: Array,
    default () {
      return [
        '#99A9BF',
        '#F7BA2A',
        '#FF9900'
      ]
    },
    name: '调色板',
    nameTip: '图表按此处指定的值循环取色',
    filedType: 'list',
    subType: 'color',
    subDefault: '#2bd3bd',
    max: 3
  },
}

// Helvetica Neue,,宋体,Arial,Helvetica,sans-serif
